package com.example.smart_hospital.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: YiRanCrazy@gmail.com
 * @Description: 支付宝配置类
 * @Version: 1.0
 * @DateTime: 2024/4/12 14:08
 **/



@Data
@Component
@ConfigurationProperties(prefix = "alipay")
public class AlipayConfig {
    private String appId;                       // 应用id
    private String appPrivateKey;               // 私钥
    private String alipayPublicKey;             // 公钥
    private String notifyUrl;                   // 回调地址
    private String returnUrl;                   // 跳转地址
}
